﻿
<%@ Page Title="" Language="C#" MasterPageFile="~/union/Template/_Main.Master" AutoEventWireup="true" CodeBehind="MyBrokerage.aspx.cs" Inherits="CL.UnionWeb.union.MyBrokerage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

        <div class="tpl-content-wrapper">
            <div class="tpl-content-page-title">
                推广联盟系统
            </div>
            <ol class="am-breadcrumb">
                <li><a href="/union/index.aspx" class="am-icon-home">首页</a></li>
                <li><a href="#">结算中心</a></li>
            </ol>
            <div class="tpl-portlet-components">
                <div class="portlet-title">
                    <div class="caption font-green bold">
                        结算记录
                    </div>
                    <div class="tpl-portlet-input tpl-fz-ml">
                        <div class="portlet-input input-small input-inline">
                            <select id="selectYear" class="input-icon right">
                                        <asp:Repeater ID="yearMonth" runat="server">
                                            <ItemTemplate>
                                                <option value="<%#Container.DataItem%>" <%#(string)Container.DataItem == currentYear ? "selected=\"selected\"":"" %> ><%#Container.DataItem%></option>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </select>
                        </div>
                    </div>
                </div>
                <%--内容 S--%>
                <div class="tpl-block">
                    <div class="am-g">
                        <div class="am-u-sm-12">
                            <form class="am-form" runat="server">
                                <table class="am-table am-table-striped am-table-hover table-main">
                                    <thead>
                                        <tr>
                                            <th class="auto-style1">月份</th>
                                            <th class="auto-style1">销售金额</th>
                                            <th class="auto-style1">返点数(万分比)</th>
                                             <th class="table-date am-hide-sm-only" style="height: 31px">结算金额</th>
                                            <th class="table-date am-hide-sm-only" style="height: 31px">结算状态</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <% for (int i = 0; i < listItem.Count; i++)
                                            {%>
                                        <tr>
                                            <td><%=listItem[i].Month %> </td>
                                            <td><%=listItem[i].BuyMount %> </td>
                                            <td><%=listItem[i].RebateNum %> ‱</td>
                                            <td><%=listItem[i].SettleAmount%></td>
                                            <td class="am-hide-sm-only"><%=listItem[i].SettleStatus%></td>
                                        </tr>
                                        <% } %>
                                    </tbody>
                                </table>
                                <div class="am-cf">
                                    <div class="am-fr">
                                        <ul id="ul_pages" class="am-pagination tpl-pagination">
                                        </ul>
                                    </div>
                                </div>
                                <hr/>
                            </form>
                        </div>

                    </div>
                </div>
                <%--内容 E--%>
            </div>
        </div>


      </asp:Content>